package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.mapper.StoragesMapper;
import cn.wolfcode.crm.query.AccidentChartQueryObject;
import cn.wolfcode.crm.service.IAccidentChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AccidentChartServiceImpl implements IAccidentChartService {
    @Autowired
    private StoragesMapper mapper;


    public List<Map<String, Object>> accidentForChart(AccidentChartQueryObject qo) {
        return mapper.accidentForChart(qo);
    }
}
